package mapper;

import org.springframework.stereotype.Repository;
import pojo.Role;

import java.util.List;

/**
 * Created by zuoxiao
 * on 2019/7/1.
 */
 @Repository
public interface Rolemapper {
    int insertRole(Role role);

    int deleteRole(Long id);

    int updateRole(Role role);

    Role getRole(Long id);

    List<Role> findRoles(String roleName);
}
